package com.handle.common.core.exception;

import com.handle.common.core.enums.IResponseEnum;

/**
 * @author zhangqing
 * @version V1.0
 * @description 编写公共代码（如工具类）时，对传入参数检查不通过时，可以抛出该异常
 * @date 16/3/2021 10:38 PM
 */
public class CommonException extends  BaseException{

    private static final long serialVersionUID = 1L;


    public CommonException(IResponseEnum responseEnum) {
        super(responseEnum);
    }

    public CommonException(IResponseEnum responseEnum, Object[] args, String message) {
        super(responseEnum, args, message);
    }

    public CommonException(IResponseEnum responseEnum, Object[] args, String message, Throwable cause) {
        super(responseEnum, args, message, cause);
    }
}
